package net.youball.utils;


public class StringUtils {

	public static boolean compareTrim(String... args){//ȥ�ո�ƥ��
		for(String arg:args){
			if(arg==null||arg.trim().length()==0){
				return false;
			}
		}
		return true;
	}
	public static boolean compareNumber(String... args){//����ƥ��
		String reg="\\d+|(\\d+\\.\\d+)";
		for(String arg:args){
			if(arg!=null&&arg.matches(reg)==false)
				return false;
		}	
		return true;
	}
}
